package com.game.raceroom.events
{
	
	import flash.events.EventDispatcher;
	
	public class GameEventDispatcher extends EventDispatcher
	{
		public static const SIT:String = "sit";
		public static const STAND:String = "stand";
		public static const STOP:String = "stop";
		public static const MOVE:String = "move";
		public static const ON_MOVE:String = "onMove";
		public static const MOVE_OVER:String = "onMoveOver";
		public static const ACTION_OVER:String = "onActionOver";
		public static const ON_STOP:String = "onStop";
		public static const ON_START:String = "onStart";
		public static const ON_ACTION:String = "onAction";
		public static const ON_SKILL:String = "onSkill";
		public static const ON_FIX:String = "onFix";
				
		public function dispatch(action:String, obj:Object):Boolean
		{
			return dispatchEvent(new GameEvent(action, obj));
		}
	}
}